//
//  HMTeamView.m
//  仿真开发
//
//  Created by jieChen on 17/3/24.
//  Copyright © 2017年 B.HOPE. All rights reserved.
//

#import "HMTeamView.h"
#import "ORCycleLabel.h"
#import <Masonry.h>

@implementation HMTeamView

- (instancetype) initWithCoder:(NSCoder *)aDecoder {
    
    if (self = [super initWithCoder:aDecoder]) {
        [self setTeamLabel];
    }
    return self;
}



- (void) setTeamLabel {
    
    self.backgroundColor = [UIColor whiteColor];
    ORCycleLabel *label = [[ORCycleLabel alloc] initWithFrame:CGRectZero];
    [self addSubview:label];
    [label mas_makeConstraints:^(MASConstraintMaker *make) {
        [make edges];
    }];
    label.text = @"组名:CKL   👉组长:林子皓✌️🙂   组员:柯伟曦✌️😝   刘金宝✌️😊   陈杰✌️😢 ";
    label.style = ORTextCycleStyleAlways;
    label.rate = 0.3;
    label.textColor = [UIColor blackColor];
    [self addSubview:label];
}

@end

